home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 12072 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.5 KB

  1. Path: erich.triumf.ca!bennett
  2. From: bennett@erich.triumf.ca (P.Bennett)
  3. Newsgroups: comp.lang.c
  4. Subject: Re: ClearScreen in C
  5. Date: 28 Mar 1996 12:05 PST
  6. Organization: TRIUMF: Tri-University Meson Facility
  7. Distribution: world
  8. Message-ID: <28MAR199612052824@erich.triumf.ca>
  9. References: <DozLqI.6Du@undergrad.math.uwaterloo.ca>
  10. NNTP-Posting-Host: ftp.triumf.ca
  11. News-Software: VAX/VMS VNEWS 1.50    
  12.  
  13. In article <DozLqI.6Du@undergrad.math.uwaterloo.ca>, srlalond@landen.math.uwaterloo.ca (Stephane Lalonde) writes...
  14. >I am programming in C and for the user interface, I would
  15. >like to clearscreen when I move from menu to menu.
  16. >I was wondering if anyone knows what is the command needed.
  17. >I would like to have the solution for both programming on a
  18. >Unix machine and programming on a PC machine in DOS.
  19.  
  20. The C standard doesn't address fancy screen manipulations - any provisions for  
  21. this  are system (and compiler) dependent.
  22.  
  23. It is discussed in the comp.lang.c faq, available by ftp from rtfm.mit.edu
  24.  
  25. With Borland compilers, for DOS, use the clrscr() function from conio.h.
  26.  
  27. Peter Bennett VE7CEI                | Vessels shall be deemed to be in sight
  28. Internet: bennett@triumf.ca         | of one another only when one can be
  29. Packet: ve7cei@ve7kit.#vanc.bc.ca   | observed visually from the other
  30. TRIUMF, Vancouver, B.C., Canada     |                          ColRegs 3(k)
  31. GPS and NMEA info and programs: ftp://sundae.triumf.ca/pub/peter/index.html
  32. or: ftp://ftp-i2.informatik.rwth-aachen.de/pub/arnd/GPS/peter/index.html
  33.  
  34.